<?php
my_component_load('xl_builder' , false);
my_component_load('testing' , false);
my_component_load('paging' , false);
my_component_load('rpt_jamsostek', false);
$task = isset($_GET['task']) ? $_GET['task'] : "";  
$modulname = "Kesejahteraan _BN_ Jamsostek _BN_ Asuransi Jamsostek";

$pagename = $modulname;

	if($task == "cetak"){
		@ob_end_clean(); 
		echo'<pre>';
		echo cetak();
		exit;
	}elseif($task == "excel"){
		header("Content-Type: application/xls");
		header("Content-Disposition: attachment;filename=jamsostek".rand().".xls");
		echo excel();
		exit;
	}else{	
		$pagename = $modulname;
		load_facebox_script();	
		$view = list_jamsostek();
	}
	generate_my_web($view , $pagename );	
	

?>